package cn.stylefeng.guns.modular.yingbao.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.yingbao.entity.UserMoneySetting;
import cn.stylefeng.guns.modular.yingbao.model.params.UserMoneySettingParam;
import cn.stylefeng.guns.modular.yingbao.model.result.UserMoneySettingResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 金额相关设置 服务类
 * </p>
 *
 * @author jj
 * @since 2019-12-23
 */
public interface UserMoneySettingService extends IService<UserMoneySetting> {

    /**
     * 新增
     *
     * @author jj
     * @Date 2019-12-23
     */
    void add(UserMoneySettingParam param);

    /**
     * 删除
     *
     * @author jj
     * @Date 2019-12-23
     */
    void delete(UserMoneySettingParam param);

    /**
     * 更新
     *
     * @author jj
     * @Date 2019-12-23
     */
    void update(UserMoneySettingParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author jj
     * @Date 2019-12-23
     */
    UserMoneySettingResult findBySpec(UserMoneySettingParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author jj
     * @Date 2019-12-23
     */
    List<UserMoneySettingResult> findListBySpec(UserMoneySettingParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author jj
     * @Date 2019-12-23
     */
     LayuiPageInfo findPageBySpec(UserMoneySettingParam param);

}
